<template>
	<view class="content">
		<view class="cu-bar search bg-white">
			<view class="cu-avatar round" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big11010.jpg"></view>
			<view class="search-form round">
				<text class="cuIcon-search"></text>
				<input @focus="InputFocus" @blur="InputBlur" :adjust-position="false" type="text" placeholder="找特产" confirm-type="search"></input>
			</view>
			<view class="action">
				<text>湖北</text>
				<text class="cuIcon-triangledownfill"></text>
			</view>
		</view>
		<!-- 导航 -->
		<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
			<view class="cu-item" v-for="(item,index) in cuIconList" :key="index" v-if="index<gridCol">
				<view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
				</view>
				<text>{{item.name}}</text>
			</view>
		</view>
		<!-- 通知 -->
		<view style="border-radius: 5px;background-color: #FFFFFF;margin-top: 10px;padding: 10px;">明天计划：细化商品列表，主要是垂直对齐，行距或行高，卡片圆角，图片圆角等</view>
		<!-- 商品列表 -->
		<view style="background-color: #FFFFFF;display: flex;flex-direction:column;width: 100%;padding: 20rpx;margin-top: 20rpx;border-radius: 10px;">
			<view style="display: flex;flex-direction: row;">
				<image style="width: 260rpx;height: 260rpx;" src="../../static/images/F4.jpeg">
				<view style="display: flex;flex-direction: column;padding-left: 15rpx;justify-content: space-between;">
					<h3 style="flex-wrap: wrap;width: 400rpx;flex:1;">商品标题文字信息描述且换行显示最多两行</h3>
					<view style="display: flex;flex-direction: row;align-items: center;">
						<text>他们都在关注：</text>
						<view class="action">
							<view class="cu-avatar-group">
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
							</view>
							<text class="text-grey text-sm">4 人</text>
						</view>
					</view>
					<view style="display: flex;flex-direction: row;justify-content: space-between;line-height: 3;">
						<text>剩余:2</text>
						<text style="font-size: 22px;color: #DD514C;">89.00元</text>
					</view>
				</view>
			</view>
			<view style="display: flex;flex-direction: row;justify-content: space-between;font-size: 16px;align-items: center;">
				<text>#农家自种 #富硒</text>
				<button class="cu-btn bg-red">立即预约</button>
				</view>
				
		</view>
		
		
		<view style="background-color: #FFFFFF;display: flex;flex-direction:column;width: 100%;padding: 20rpx;margin-top: 20rpx;border-radius: 10px;">
			<view style="display: flex;flex-direction: row;">
				<image style="width: 260rpx;height: 260rpx;" src="../../static/images/F2.jpeg">
				<view style="display: flex;flex-direction: column;padding-left: 15rpx;">
					<h3 style="flex-wrap: wrap;width: 400rpx;flex:1;">商品标题文字信息描述且换行显示最多两行</h3>
					<view style="display: flex;flex-direction: row;align-items: center;">
						<text>他们都在关注：</text>
						<view class="action">
							<view class="cu-avatar-group">
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
							</view>
							<text class="text-grey text-sm">4 人</text>
						</view>
					</view>
					<view style="display: flex;flex-direction: row;justify-content: space-between;line-height: 3;">
						<text>剩余:2</text>
						<text style="font-size: 22px;color: #DD514C;">89.00元</text>
					</view>
				</view>
			</view>
			<view style="display: flex;flex-direction: row;justify-content: space-between;font-size: 16px;align-items: center;">
				<text>#农家自种 #富硒</text>
				<button class="cu-btn bg-red">立即预约</button>
				</view>
				
		</view>
		
		
		<view style="background-color: #FFFFFF;display: flex;flex-direction:column;width: 100%;padding: 20rpx;margin-top: 20rpx;border-radius: 10px;">
			<view style="display: flex;flex-direction: row;">
				<image style="width: 260rpx;height: 260rpx;" src="../../static/images/F3.jpeg">
				<view style="display: flex;flex-direction: column;padding-left: 15rpx;">
					<h3 style="flex-wrap: wrap;width: 400rpx;flex:1;">商品标题文字信息描述且换行显示最多两行</h3>
					<view style="display: flex;flex-direction: row;align-items: center;">
						<text>他们都在关注：</text>
						<view class="action">
							<view class="cu-avatar-group">
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
							</view>
							<text class="text-grey text-sm">4 人</text>
						</view>
					</view>
					<view style="display: flex;flex-direction: row;justify-content: space-between;line-height: 3;">
						<text>剩余:2</text>
						<text style="font-size: 22px;color: #DD514C;">89.00元</text>
					</view>
				</view>
			</view>
			<view style="display: flex;flex-direction: row;justify-content: space-between;font-size: 16px;align-items: center;">
				<text>#农家自种 #富硒</text>
				<button class="cu-btn bg-red">立即预约</button>
				</view>
		
		</view>
		
		
		<view style="background-color: #FFFFFF;display: flex;flex-direction:column;width: 100%;padding: 20rpx;margin-top: 20rpx;border-radius: 10px;">
			<view style="display: flex;flex-direction: row;">
				<image style="width: 260rpx;height: 260rpx;" src="../../static/images/F5.jpeg">
				<view style="display: flex;flex-direction: column;padding-left: 15rpx;">
					<h3 style="flex-wrap: wrap;width: 400rpx;flex:1;">商品标题文字信息描述且换行显示最多两行</h3>
					<view style="display: flex;flex-direction: row;align-items: center;">
						<text>他们都在关注：</text>
						<view class="action">
							<view class="cu-avatar-group">
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big81005.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big25002.jpg);"></view>
								<view class="cu-avatar round sm" style="background-image:url(https://ossweb-img.qq.com/images/lol/web201310/skin/big91012.jpg);"></view>
							</view>
							<text class="text-grey text-sm">4 人</text>
						</view>
					</view>
					<view style="display: flex;flex-direction: row;justify-content: space-between;line-height: 3;">
						<text>剩余:2</text>
						<text style="font-size: 22px;color: #DD514C;">89.00元</text>
					</view>
				</view>
			</view>
			<view style="display: flex;flex-direction: row;justify-content: space-between;font-size: 16px;align-items: center;">
				<text>#农家自种 #富硒</text>
				<button class="cu-btn bg-red">立即预约</button>
				</view>
				
		</view>
		<!-- 商品列表结束 -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				cuIconList: [{
					cuIcon: 'noticefill',
					color: 'olive',
					badge: 22,
					name: '通知'
				}, {
					cuIcon: 'upstagefill',
					color: 'cyan',
					badge: 0,
					name: '排行榜'
				}, {
					cuIcon: 'discoverfill',
					color: 'purple',
					badge: 0,
					name: '发现'
				}, {
					cuIcon: 'questionfill',
					color: 'mauve',
					badge: 0,
					name: '帮助'
				}, {
					cuIcon: 'commandfill',
					color: 'purple',
					badge: 0,
					name: '问答'
				}],
				modalName: null,
				gridCol: 5,
				gridBorder: false,
				menuBorder: false,
				menuArrow: false,
				menuCard: false,
				skin: false,
				listTouchStart: 0,
				listTouchDirection: null,
			}
		},
		onLoad() {

		},
		methods: {
			
		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.cu-bar{
		width: 100%;
	}
	.cu-modal{
		height: 100Vh;
		width: 100%;
	}
	.cu-modal.show {
		overflow: hidden;
	}
	.cu-list{
		width: 100%;
	}



</style>
